package com.two.shopping.service;

import com.two.shopping.pojo.Commodity;
import com.two.shopping.pojo.PageBean;

import java.time.LocalDate;
//PageBean pageBean = shoppingCenterService.page(page, pageSize, name, priceBegin, priceEnd);
//这是商城模块
public interface IShoppingCenterService {
    //全部查询
    PageBean pageAll(Integer page, Integer pageSize);//分页查询所有
    PageBean pageType(Integer page, Integer pageSize,Integer commodityTypeId);//分页
    PageBean pageLike(Integer page, Integer pageSize, String name,Float priceBegin,Float priceEnd);//分页
   //根据id单次查询
    PageBean selectCommodityId(Integer page, Integer pageSize,Integer id);
    Commodity idList(Integer id);
}
